package server.business.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

public class User implements Serializable {

	private static final long serialVersionUID = 2664751727236258165L;

	private int id;
	private String name;
	private String password;
	private String email;
	private String nickName; // 昵称
	private String signature; // 个性签名

	private boolean robot; // 是否机器人
	private int diffLevel; // 机器人难度等级

	private boolean freeze; // 是否禁止登录
	private boolean shutup; // 是否禁言

	private boolean online; // 是否在线

	private String title; // 头衔
	private int score; // 积分
	private int level; // 等级
	private int vipLevel; // vip等级
	private Date vipDate; // vip期限

	private int winCount; // 胜利次数
	private int loseCount; // 失败次数
	private int achieveValue; // 成就值

	private Map<String, Long> wallet; // 钱包

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getSignature() {
		return signature;
	}

	public void setSignature(String signature) {
		this.signature = signature;
	}

	public boolean isRobot() {
		return robot;
	}

	public void setRobot(boolean robot) {
		this.robot = robot;
	}

	public int getDiffLevel() {
		return diffLevel;
	}

	public void setDiffLevel(int diffLevel) {
		this.diffLevel = diffLevel;
	}

	public boolean isFreeze() {
		return freeze;
	}

	public void setFreeze(boolean freeze) {
		this.freeze = freeze;
	}

	public boolean isShutup() {
		return shutup;
	}

	public void setShutup(boolean shutup) {
		this.shutup = shutup;
	}

	public boolean isOnline() {
		return online;
	}

	public void setOnline(boolean online) {
		this.online = online;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public int getScore() {
		return score;
	}

	public void setScore(int score) {
		this.score = score;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public int getVipLevel() {
		return vipLevel;
	}

	public void setVipLevel(int vipLevel) {
		this.vipLevel = vipLevel;
	}

	public Date getVipDate() {
		return vipDate;
	}

	public void setVipDate(Date vipDate) {
		this.vipDate = vipDate;
	}

	public int getWinCount() {
		return winCount;
	}

	public void setWinCount(int winCount) {
		this.winCount = winCount;
	}

	public int getLoseCount() {
		return loseCount;
	}

	public void setLoseCount(int loseCount) {
		this.loseCount = loseCount;
	}

	public int getAchieveValue() {
		return achieveValue;
	}

	public void setAchieveValue(int achieveValue) {
		this.achieveValue = achieveValue;
	}

	public Map<String, Long> getWallet() {
		return wallet;
	}

	public void setWallet(Map<String, Long> wallet) {
		this.wallet = wallet;
	}

}
